package com.yuyou.hxyy.service.api.service;

import java.util.List;

import org.apache.poi.xssf.usermodel.XSSFWorkbook;

import com.yuyou.hxyy.service.api.bean.Pagination;
import com.yuyou.hxyy.service.api.entity.AuthUser;
import com.yuyou.hxyy.service.api.entity.DataImport;
import com.yuyou.hxyy.service.api.vo.req.UserExcel;

public interface IAuthUserService {
    int deleteByPrimaryKey(Long id);

    int insert(AuthUser record);

    AuthUser selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(AuthUser record);
    
    AuthUser seleteAuthUserByAccount(String account);

    AuthUser seleteByAccount7Type(String account,Integer userType);
    
    DataImport saveUserImport(List<UserExcel> userExcelList);

    int findAuthUserPageCount(Pagination<AuthUser> p);

    List<AuthUser> findAuthUserPageList(Pagination<AuthUser> p);

    void batchChangeAuthUserStatus(List<Long> ids, Integer status);

    XSSFWorkbook failedInfoOfUserImport(List<UserExcel> userExcelList);
}